package com.tmp.alarm.model;

import java.io.Serializable;

public class BuffaloModel implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1321703573826243921L;
	private long id;
	private String logDate;
	private String appGroupId;
	private String appGroupName;
	private String created;
	private String creator;
	private String creatorEmail;
	private String creatorName;
	private String cronExpression;
	private String dbResourceId;
	private String dependStatus;
	private String dependTime;
	private String description;
	private String failedContinue;
	private String taskId;
	private String isAlarm;
	private String isPhenix;
	private String modified;
	private String nextTime;
	private String offset;
	private String operator;
	private String operatorEmail;
	private String operatorName;
	private String pageSize;
	private String scriptPath;
	private String status;
	private String statusName;
	private String taskCode;
	private String taskNodeId;
	private String taskNodeName;
	private String taskNodeType;
	private String taskRunScope;
	private String type;
	private String typeName;
	private String userEmail;
	private String userErp;
	private String userId;
	private String userName;
	private String avgExecLong;
	private String maxExecLong;
	private String minExecLong;

	public BuffaloModel(String line) {
		String[] infos = line.split("\\|");
		if (infos.length >= 40) {
			this.logDate = infos[0].trim();
			this.appGroupId = infos[1].trim();
			this.appGroupName = infos[2].trim();
			this.created = infos[3].trim();
			this.creator = infos[4].trim();
			this.creatorEmail = infos[5].trim();
			this.creatorName = infos[6].trim();
			this.cronExpression = infos[7].trim();
			this.dbResourceId = infos[8].trim();
			this.dependStatus = infos[9].trim();
			this.dependTime = infos[10].trim();
			this.description = infos[11].trim();
			this.failedContinue = infos[12].trim();
			this.taskId = infos[13].trim();
			this.isAlarm = infos[14].trim();
			this.isPhenix = infos[15].trim();
			this.modified = infos[16].trim();
			this.nextTime = infos[17].trim();
			this.offset = infos[18].trim();
			this.operator = infos[19].trim();
			this.operatorEmail = infos[20].trim();
			this.operatorName = infos[21].trim();
			this.pageSize = infos[22].trim();
			this.scriptPath = infos[23].trim();
			this.status = infos[24].trim();
			this.statusName = infos[25].trim();
			this.taskCode = infos[26].trim();
			this.taskNodeId = infos[27].trim();
			this.taskNodeName = infos[28].trim();
			this.taskNodeType = infos[29].trim();
			this.taskRunScope = infos[30].trim();
			this.type = infos[31].trim();
			this.typeName = infos[32].trim();
			this.userEmail = infos[33].trim();
			this.userErp = infos[34].trim();
			this.userId = infos[35].trim();
			this.userName = infos[36].trim();
			this.avgExecLong = infos[37].trim();
			this.maxExecLong = infos[38].trim();
			this.minExecLong = infos[39].trim();
		}
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getLogDate() {
		return logDate;
	}

	public void setLogDate(String logDate) {
		this.logDate = logDate;
	}

	public String getAppGroupId() {
		return appGroupId;
	}

	public void setAppGroupId(String appGroupId) {
		this.appGroupId = appGroupId;
	}

	public String getAppGroupName() {
		return appGroupName;
	}

	public void setAppGroupName(String appGroupName) {
		this.appGroupName = appGroupName;
	}

	public String getCreated() {
		return created;
	}

	public void setCreated(String created) {
		this.created = created;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getCreatorEmail() {
		return creatorEmail;
	}

	public void setCreatorEmail(String creatorEmail) {
		this.creatorEmail = creatorEmail;
	}

	public String getCreatorName() {
		return creatorName;
	}

	public void setCreatorName(String creatorName) {
		this.creatorName = creatorName;
	}

	public String getCronExpression() {
		return cronExpression;
	}

	public void setCronExpression(String cronExpression) {
		this.cronExpression = cronExpression;
	}

	public String getDbResourceId() {
		return dbResourceId;
	}

	public void setDbResourceId(String dbResourceId) {
		this.dbResourceId = dbResourceId;
	}

	public String getDependStatus() {
		return dependStatus;
	}

	public void setDependStatus(String dependStatus) {
		this.dependStatus = dependStatus;
	}

	public String getDependTime() {
		return dependTime;
	}

	public void setDependTime(String dependTime) {
		this.dependTime = dependTime;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getFailedContinue() {
		return failedContinue;
	}

	public void setFailedContinue(String failedContinue) {
		this.failedContinue = failedContinue;
	}

	public String getTaskId() {
		return taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public String getIsAlarm() {
		return isAlarm;
	}

	public void setIsAlarm(String isAlarm) {
		this.isAlarm = isAlarm;
	}

	public String getIsPhenix() {
		return isPhenix;
	}

	public void setIsPhenix(String isPhenix) {
		this.isPhenix = isPhenix;
	}

	public String getModified() {
		return modified;
	}

	public void setModified(String modified) {
		this.modified = modified;
	}

	public String getNextTime() {
		return nextTime;
	}

	public void setNextTime(String nextTime) {
		this.nextTime = nextTime;
	}

	public String getOffset() {
		return offset;
	}

	public void setOffset(String offset) {
		this.offset = offset;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getOperatorEmail() {
		return operatorEmail;
	}

	public void setOperatorEmail(String operatorEmail) {
		this.operatorEmail = operatorEmail;
	}

	public String getOperatorName() {
		return operatorName;
	}

	public void setOperatorName(String operatorName) {
		this.operatorName = operatorName;
	}

	public String getPageSize() {
		return pageSize;
	}

	public void setPageSize(String pageSize) {
		this.pageSize = pageSize;
	}

	public String getScriptPath() {
		return scriptPath;
	}

	public void setScriptPath(String scriptPath) {
		this.scriptPath = scriptPath;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatusName() {
		return statusName;
	}

	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}

	public String getTaskCode() {
		return taskCode;
	}

	public void setTaskCode(String taskCode) {
		this.taskCode = taskCode;
	}

	public String getTaskNodeId() {
		return taskNodeId;
	}

	public void setTaskNodeId(String taskNodeId) {
		this.taskNodeId = taskNodeId;
	}

	public String getTaskNodeName() {
		return taskNodeName;
	}

	public void setTaskNodeName(String taskNodeName) {
		this.taskNodeName = taskNodeName;
	}

	public String getTaskNodeType() {
		return taskNodeType;
	}

	public void setTaskNodeType(String taskNodeType) {
		this.taskNodeType = taskNodeType;
	}

	public String getTaskRunScope() {
		return taskRunScope;
	}

	public void setTaskRunScope(String taskRunScope) {
		this.taskRunScope = taskRunScope;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public String getUserErp() {
		return userErp;
	}

	public void setUserErp(String userErp) {
		this.userErp = userErp;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getAvgExecLong() {
		return avgExecLong;
	}

	public void setAvgExecLong(String avgExecLong) {
		this.avgExecLong = avgExecLong;
	}

	public String getMaxExecLong() {
		return maxExecLong;
	}

	public void setMaxExecLong(String maxExecLong) {
		this.maxExecLong = maxExecLong;
	}

	public String getMinExecLong() {
		return minExecLong;
	}

	public void setMinExecLong(String minExecLong) {
		this.minExecLong = minExecLong;
	}
}
